package com.pzc.controller;

import com.pzc.entity.Result;
import com.pzc.service.WarnService;
import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@Api(value = "历史记录Controller",tags = "历史相关接口")
@RequestMapping("/warn")
@RestController
public class WarnController {

    @Resource
    WarnService warnService;
        @GetMapping("/history")
        public Result historyList(){
            return Result.ok();
        }
}
